package com.lyeducation.entities.course.middle;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * 用户点赞视频评论
 */
@Entity
@Table(name = "user_video_comment_click_praise")
@IdClass(UserVideoCommentClickPraiseEntityPK.class)
public class UserVideoCommentClickPraiseEntity {
    private String userId;
    private String commentId;
    private Timestamp createTime;

    @Id
    @Column(name = "userId", nullable = false, length = 18)
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Id
    @Column(name = "commentId", nullable = false, length = 18)
    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    @Basic
    @Column(name = "createTime", nullable = true)
    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

}
